<?php 
    require_once('inc/conn.php');

 ?>
 <!doctype html>
 <html lang="en">
 <head>
     <meta charset="UTF-8">
     <title>Document</title>
 </head>
 <body>
     <?php 
        $sql="DELETE FROM admin WHERE id='".$_GET['id']."'";
        mysql_query($sql);
        echo "<script>alert('删除成功!');window.location.href='guanliyuan_list.php'</script>";
        mysql_close($conn);
      ?>
 </body>
 </html>